package com.rmxx.fruit.activity;

import android.view.View;
import android.widget.TextView;

import com.company.android.fruit.R;
import com.kwan.xframe.mvp.presenter.BasePresenter;
import com.kwan.xframe.mvp.view.activity.BaseActivity;

public class LoginActivity extends BaseActivity implements View.OnClickListener {

	private TextView tv_login;

	@Override
	protected BasePresenter getBasePresenter() {
		return null;
	}

	@Override
	protected int getRootBottomViewId() {
		return 0;
	}

	@Override
	protected int getTitleBarViewId() {
		return 0;
	}

	@Override
	protected int getContentViewId() {
		return R.layout.activity_login;
	}

	@Override
	protected void initViews() {

		tv_login = findViewById(R.id.tv_login);

	}

	@Override
	protected void initViewSetting() {
		tv_login.setOnClickListener(this);
	}

	@Override
	protected void initData() {

	}

	@Override
	public boolean isFullScreen() {
		return true;
	}

	@Override
	protected boolean isImmersionBarEnabled() {
		return false;
	}

	@Override
	protected String getTitleTxt() {
		return null;
	}

	@Override
	public String getPageName() {
		return null;
	}

	@Override
	public void onClick(View view) {
		if (view == tv_login) {
			go2Activity(MainActivity.class, null, true);
		}
	}
}
